perm filename PUBTTL.DOC[S,TES] blob sn#009964 filedate 1972-08-30 generic text, type T, neo UTF8
STANFORD ARTIFICIAL INTELLIGENCE PROJECT                  AUGUST 1972
OPERATING NOTE 70




                                 PUB

                        The Document Compiler



                                 by

                            Larry Tesler







ABSTRACT:

PUB  is  an  advanced  text  justifier  and  page  formatter intended
primarily for use by programmers.  It can automatically number pages,
sections, figures,  footnotes, etc.  and can  print their  numbers in
roman numerals as well as  in digit or letter form.  It  can generate
cross references,  tables of contents,  and indexes.  Page  layout is
flexible,  and  allows  multiple  column  output.    Line  formatting
includes tabs, underlining, superscripts, subscripts,  centering, and
justification.   Macros programmed  in a  SAIL-like string-processing
language can generate text to be printed in the document.  The output
of the compiler is  a file which can  be printed on the  terminal, on
the line printer, or on microfilm.





ACKNOWLEDGMENTS:

Les  Earnest  created  the  concept  of  the  Document  Compiler  and
specified most of its capabilities.

Dan  Swinehart  provided  invaluable advice  and  aid  throughout the
development of PUB.

Russ Taylor programmed the FR-80 preprocessor.



This work  was supported  in part by  the Advanced  Research Projects
Agency of the Department of Defense under Contract SD 183.